package com.jcfk.system.dao;

import com.jcfk.common.business.dao.BaseDao;
import com.jcfk.common.web.domain.DataPage;
import com.jcfk.system.domain.po.SysPortalContent;
import com.jcfk.system.domain.query.SysPortalContentQuery;
import com.jcfk.system.domain.dto.SysPortalContentDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
 * 门户内容
 *
 * @author awei
 * @email 522891237@gqq.com
 * @date 2024-03-25
 */
@Repository
public interface SysPortalContentDao extends BaseDao<SysPortalContent> {
    /**
     * 门户内容分页查询
     *
     * @param page
     * @param query
     * @return
     */
    DataPage<SysPortalContentDTO> queryByPage(@Param("page") DataPage<SysPortalContentDTO> page,
                                              @Param("query") SysPortalContentQuery query);

}
